<!DOCTYPE html>
<html>
<head>
<title></title>
<script>
	//图片地址 后面加时间戳是为了避免缓存
	var img_url = 'http://222.66.77.226:50000/cms-picture/user_material/163/181/3/173/pic/2019-03-07/34071560-0803-4f76-b8f8-8c5dba738211.jpg?'
			+ Date.parse(new Date());

		// 创建对象
		var img = new Image();

		// 改变图片的src
		img.src = img_url;

		img.onload = function(){
		    // 打印
		    alert('width:'+img.width+',height:'+img.height);
		};
		// 加载完成执行
</script>
</head>
<body>
<img src="http://222.66.77.226:50000/cms-picture/user_material/163/181/3/173/pic/2019-03-07/34071560-0803-4f76-b8f8-8c5dba738211.jpg" />
</body>
</html>
